<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./echarts.min.js"></script>
</head>

<body>
    <div id="main" style="width: 500px; height: 400px;"></div>
    <script type="text/javascript">
        var myChart = echarts.init(document.getElementById('main'));
        var option = {
            title: {
                text: '就业率'
            },
            tooltip: {},
            legend: {
                data: ['C2109A班', 'C2109B班', 'C2109C班']
            },
            xAxis: {
                type: 'category',
                name: "C2109",
                nameLocation: 'middle',
                axisTick:{
                    show:true
                },
                // 标签
                 axisLabel:{
                    show:false
                 }
            },
            yAxis: {},
            series: [
                {
                    name: 'C2109A班',
                    type: 'bar',
                    barGap: '0%',
                    data: [80]
                },
                {
                    name: 'C2109B班',
                    type: 'bar',
                    barGap: '0%',
                    data: [60]
                }
                , {
                    name: 'C2109C班',
                    type: 'bar',
                    barGap: '0%',
                    data: [100]
                }
            ]
        };
        myChart.setOption(option);
    </script>
</body>

</html>